package com.atguigu.scala.chapter_06_simplification

object Scala_01 {
  def main(args: Array[String]): Unit = {
    def sum(c: Int, a: Int, b: Int*): Int = {
      println(b)
      return a + c
    }

    println(sum(1, 2,3,4))
  }

}
